package com.kamistoat.meimeimall.meimeimallseckill.feign;

import com.kamistoat.meimeimall.common.To.seckillTo.SecKillSkuInfoTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("meimeimall-product")
public interface ProductFeignService {
    @GetMapping("meimeimallproduct/skuinfo/getSecKillSkuTo")
    SecKillSkuInfoTo getSecKillSkuTo(@RequestParam Long skuId);
}
